<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>好友列表</title>
    <link rel="stylesheet" href="css/style.css">
    <script src="js/jquery.js"></script>
    <script src="js/template-web.js"></script>
</head>

<body>
    <main id="show">

    </main>
    <script type="text/html" id="t1">
        {{each friends f}}
        <section>
            <button>{{f.groupName}}</button>
            <ul>
                {{each f.data d}}
                <li>{{d}}</li>
                {{/each}}
            </ul>
        </section>
        {{/each}}
    </script>
    <script src="index.js"></script>
</body>

</html>